apk: define minimal variant for install
authorPaul Donald <[email protected]>
Mon, 8 Dec 2025 19:45:16 +0000 (20:45 +0100)
committerChristian Marangi <[email protected]>
Mon, 8 Dec 2025 20:30:39 +0000 (21:30 +0100)
Choose the minimal release build which excludes a number of
unused applets, not used on user devices.

Signed-off-by: Paul Donald <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21093
Signed-off-by: Christian Marangi <[email protected]>
package/system/apk/Makefile

index 9627084f4ef26f7c0044ef047974458abfa038d6..0fda7881859841d0c6e1710afb5b1bc263de3432 100644 (file)
@@ -70,7 +70,8 @@ MESON_HOST_ARGS += \
 
 MESON_ARGS += \
        $(MESON_COMMON_ARGS) \
-       -Dcrypto_backend=$(BUILD_VARIANT)
+       -Dcrypto_backend=$(BUILD_VARIANT) \
+       -Dminimal=true
 
 define Package/apk/conffiles
 /etc/apk/repositories.d/customfeeds.list